package com.probox.common.entity.vo.im;



public class Action implements java.io.Serializable{

    private String token;

    private String action;

    //角色 @CustomerServiceRoleEnum
    private String fromRole;

    //接受方角色，存在供应商和客服的通讯
    private String toRole;

    //接受方信息
    private Long toUserId;

    //时间戳
    private String timestamp;

    //欢迎词
    private String welcome;

    /**
     * 消息发送结果
     */
    private Boolean result;

    private String errMsg;



    public Boolean getResult() {
		return result;
	}

	public void setResult(Boolean result) {
		this.result = result;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String getToRole() {
		return toRole;
	}

	public void setToRole(String toRole) {
		this.toRole = toRole;
	}



	public String getWelcome() {
		return welcome;
	}

	public void setWelcome(String welcome) {
		this.welcome = welcome;
	}





	public String getFromRole() {
		return fromRole;
	}

	public void setFromRole(String fromRole) {
		this.fromRole = fromRole;
	}


	public Long getToUserId() {
		return toUserId;
	}

	public void setToUserId(Long toUserId) {
		this.toUserId = toUserId;
	}

	public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
